Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update semgrep requirement from <1.61,>=1.50 to >=1.50,<1.62 #265

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2024

Updates the requirements on semgrep to permit the latest version.

Changelog

Sourced from semgrep's changelog.

1.61.0 - 2024-02-13

Added

  • Added performance metrics using OpenTelemetry for better visualization. Users wishing to understand the performance of their Semgrep scans or to help optimize Semgrep can configure the backend collector created in libs/tracing/unix/Tracing.ml.

    This is experimental and both the implementation and flags are likely to change. (ea-320)

  • Created a new environment variable SEMGREP_REPO_DISPLAY_NAME for use in semgrep CI. Currently, this does nothing. The goal is to provide a way to override the display name of a repo in the Semgrep App. (gh-8953)

Changed

  • "Missing plugin" errors (i.e., rules that cannot be run without --pro) will now be grouped and reported as a single warning. (ea-842)

1.60.1 - 2024-02-09

Added

  • Rule syntax: Metavariables by the name of $_ are now anonymous, meaning that they do not unify within a single pattern or across patterns, and essentially just unconditionally specify some expression.

    For instance, the pattern foo($_, $_) may match the code foo(1, 2).

    This will change the behavior of existing rules that use the metavariable $_, if they rely on unification still happening. This can be fixed by simply giving the metavariable a real name like $A. (ea-837)

  • Added infrastructure for semgrep supply chain in semgrep-core. Not fully functional yet. (ssc-port)

Changed

  • Dataflow: Simplified the IL translation for Python with statements to let symbolic propagation assume that with foo() as x: ... entails x = foo(), so that e.g. Session().execute("...") matches:

... (truncated)

Commits
  • 089823e chore: Bump version to 1.61.0
  • 55412a8 Clean up - asserts are no longer needed since we track the test output (#9762)
  • 15e083f cli: Group "missing plugin" errors and report as one warning (#9749)
  • 2250417 feat: Add an option for adding a separate display name for repositories (#9750)
  • 06f06b1 Switch to standard jsonnet and yq for GHA (#9760)
  • f8b0b40 refactor: Make Path_test_utils.ml (#9758)
  • 6edf7ab Masking another JSON field that changes frequently (#9759)
  • 9a4d259 Switch semgrep-core to Info log level (#9757)
  • 16516ab feat(secrets): support validation state actions metadata (#9717)
  • 939426e chore: python: Use the static keyword for static methods in python (#9746)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [semgrep](https://github.com/returntocorp/semgrep) to permit the latest version.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/v1.61.0/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.50.0...v1.61.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 14, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@clavedeluna clavedeluna added this pull request to the merge queue Feb 14, 2024
Merged via the queue into main with commit 829adf5 Feb 14, 2024
13 checks passed
@clavedeluna clavedeluna deleted the dependabot/pip/semgrep-gte-1.50-and-lt-1.62 branch February 14, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant